package com.ygqh.baby.mapper;

import com.ygqh.baby.ao.QueryInfo;
import com.ygqh.baby.po.YgWeixinMenuDay;
import com.ygqh.baby.po.YgWeixinMenuDayExample;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * @author admin
 */
public interface YgWeixinMenuDayMapper {

	int countByExample(YgWeixinMenuDayExample example);

	int deleteByExample(YgWeixinMenuDayExample example);

	int deleteByPrimaryKey(Long id);

	int insert(YgWeixinMenuDay record);

	int insertSelective(YgWeixinMenuDay record);

	List<YgWeixinMenuDay> selectByExample(YgWeixinMenuDayExample example);

	YgWeixinMenuDay selectByPrimaryKey(Long id);

	int updateByExampleSelective(@Param("record") YgWeixinMenuDay record,
								 @Param("example") YgWeixinMenuDayExample example);

	int updateByExample(@Param("record") YgWeixinMenuDay record, @Param("example") YgWeixinMenuDayExample example);

	int updateByPrimaryKeySelective(YgWeixinMenuDay record);

	int updateByPrimaryKey(YgWeixinMenuDay record);

	int countSuper(@Param("q") String q);

	List<YgWeixinMenuDay> selectSuper(@Param("queryInfo") QueryInfo queryInfo, @Param("q") String q);

	List<String> selectOpenId(@Param("startDate") Date startDate, @Param("platformNo") String platformNo);
}



